home *** CD-ROM | disk | FTP | other *** search
/ Night Owl 6 / Night Owl's Shareware - PDSI-006 - Night Owl Corp (1990).iso / 016a / mdosp401.zip / DEMO2.C < prev    next >
C/C++ Source or Header  |  1990-10-02  |  470b  |  21 lines

  1. /* demo program for MultiDos Plus R4.00 distribution */
  2. /* please note that this program is only used to show */
  3. /* how to load and execute programs.  The display of */
  4. /* this program only indicates that it is running and */
  5. /* the .EXE name to identify the display. */
  6.  
  7. #include <stdio.h>
  8.  
  9. int main(argcnt, arglst)
  10. int argcnt;
  11. char *arglst[];
  12. {
  13.     int i;
  14.     
  15.     i = 0;
  16.     for (;;++i)
  17.     {
  18.         printf("My name is %s and my count is %d\r\n", arglst[0], i);
  19.     }
  20. }
  21.